package com.yongxing.pluginappone;

import android.util.Log;

/**
 * Created by jiangyongxing on 2019/7/16.
 * 描述：
 */
public class PluginOneService extends BaseService {


    int i = 0;
    private String TAG = "jiang";

    @Override
    public void onCreate() {
        super.onCreate();
        new Thread() {
            @Override
            public void run() {
                while (true) {
                    Log.e(TAG, "run: " + (i++));
                    try {
                        Thread.sleep(1000);
                    } catch (InterruptedException e) {
                        e.printStackTrace();
                    }
                }
            }
        }.start();
    }
}
